package cn.good.mapper;

import cn.good.pojo.Issue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IssueMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Issue record);

    int insertSelective(Issue record);

    Issue selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Issue record);

    int updateByPrimaryKey(Issue record);
    //查询问题列表
    List<Issue> selectByIssue(@Param("issue") Issue issue, @Param("beginPos") Integer beginPos, @Param("pageSize") Integer pageSize);
    //查询列表总数
    Integer selectCountByIssue(Issue issue);
}